#pragma once

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Header
#include "AppDef.h"
#include "Resource.h"
//#include "CeleLib.h"
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


#include "J2MEFxion_Lib/String.h"

#include <MAPIUtil.h>
#ifdef _WIN32_WCE
#include "cemapi.h"
#include "tpcshell.h"
#endif
#include "celelib/CeleReg.h"
#include "celelib/CeleCtrl.h"
#include "celelib/CeleCom.h"

typedef struct _InfoSms
{
	TStr PhoneNo;
	TStr Content;
} InfoSms;

INT_PTR CALLBACK SmsDlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR ShowSmsDlg(InfoSms* Sms,HWND hParent = GetActiveWindow());

#define FxRubbish "\\Windows\\Keywords.ini"

INT_PTR CALLBACK RubbishEditDlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR EditRubbishFlag(InfoSms* Sms,HWND hParent = GetActiveWindow());

INT_PTR CALLBACK PicVerifyProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR GetPicVerify(char* lParam,HWND hParent = GetActiveWindow());
extern AStr VerifyChar;

bool CreateMAPIRule();
bool DeleteMAPIRule();